package com.example.testblog.Dao;

import com.example.testblog.entity.Type;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.awt.print.Pageable;
import java.util.List;

public interface TypeRepository extends JpaRepository<Type,Long> {
    Type findByName(String name);




}
